package com.bdqn.pojo;

import java.util.List;
import java.util.Map;

/**
 * Person
 *
 * @author LILIBO
 * @since 2021-10-16
 */
public class Person {

    private int id;
    private String name;
    private String address;
    private String sign;
    private List<String> hobby;
    private Map<String, String> info;

    public Person() {}

    public Person(String name, String address) {
        this.name = name;
        this.address = address;
    }

    public Person(int id, String name, String address) {
        this.id = id;
        this.name = name;
        this.address = address;
    }

    @Override
    public String toString() {
        return "Person{" + "id=" + id + ", name='" + name + '\'' + ", address='" + address + '\'' + ", sign='" + sign + '\'' + ", hobby=" + hobby + ", info=" + info + '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public List<String> getHobby() {
        return hobby;
    }

    public void setHobby(List<String> hobby) {
        this.hobby = hobby;
    }

    public Map<String, String> getInfo() {
        return info;
    }

    public void setInfo(Map<String, String> info) {
        this.info = info;
    }
}
